home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 1 / LIGHT-ROM 1 (Amiga Library Services)(1994).iso / ffdisks / d892.lha / Indent / ChangeLog next >
Text File  |  1993-06-17  |  30KB  |  781 lines

  1. Wed Jun 16 15:32:36 1993  Joseph Arceneaux  (jla@wookumz.gnu.ai.mit.edu)
  2.  
  3.     * Version 1.8 released.
  4.  
  5.     * makefile.in: New variable VMSFILES describing the files needed
  6.     for indent under VMS.
  7.         Removed comments.texinfo from list of files to tar.
  8.     * configure-6-93:
  9.     * configure.in-693: Copies of the configure script and its input
  10.     file from the autoconf directory.  The reliability of the ones in
  11.     the autoconf directory is questionable.  `configure' and
  12.     `configure.in' are now links to these files.
  13.  
  14.     * version.h: Comments rewritten.
  15.  
  16. Tue Jun 15 10:14:47 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  17.  
  18.     * Thanks to MEHRDAD@glum.dev.cf.ac.uk for the VMS patches.
  19.     * io.c (read_file): Use SYS_READ, conditional expansion, instead
  20.     of read.
  21.     (vms_read): Substitute for `read' under VMS.
  22.  
  23.     * backup.c: Set `simple_backup_suffix' from new define
  24.     BACKUP_SUFFIX_STR.  Define this (to "~") if undefined.
  25.     Likewise, BACKUP_SUFFIX_CHAR and BACKUP_SUFFIX_FORMAT.
  26.     * sys.h: Conditional defines for VMS added.
  27.     * args.c (set_profile): Use new define PROFILE_FORMAT for
  28.     formatting homedir/profile path.
  29.  
  30. Mon Jun 14 11:37:14 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  31.  
  32.     * indent.texinfo (Comments): Section completely rewritten.  Old
  33.      text in file old-comments.texinfo.
  34.  
  35.     * indent.texinfo (Statements): Explained how -bl and -br affect
  36.     struct declarations.
  37.  
  38.     * indent.c (indent): In case newline, modified conditional
  39.     determining whether or not to call `dump_line' to avoid doing so
  40.     after a right brace if user has specified `btype_2'.  This makes
  41.     enums and structs more consistent -- in default mode, the name of
  42.     the struct goes on a separate line from the rbrace and on the same
  43.     line in K&R mode, and does so consistently whether in or outside a
  44.     procedure block.
  45.  
  46.     * sys.h: Added some defines for compilation under MS-DOS, under
  47.     #ifdef __MSDOS__.  Thanks to hnyman@lesti.hut.fi.
  48.  
  49.     * io.c (read_file):  Adjust `fileptr.size' to be what `read'
  50.     returned, if different from the results of `stat'.  This is
  51.     because the DOS `read' converts the CR-LF on disc to '\n' in
  52.     memory.
  53.  
  54. Fri Jun 11 12:39:38 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  55.  
  56.     * lexi.c (lexi): Accept LL and ULL as suffixes to numbers as well.
  57.     Suggested by rdh@key.amdahl.com.
  58.  
  59.     * indent.c (indent): In case `rbrace', when conditionally setting
  60.     `force_nl', extended the first clause of the if conditional to
  61.     make `rw_decl' equivalent to `rw_struct_like', and also depend on
  62.     `btype_2'.  This keeps the structure name on the same line when
  63.     running with -kr option.
  64.     * parse.c (parse): In case `lbrace', in conditional for adding
  65.     `brace_indent', also consider `btype_2'.
  66.  
  67. Thu Jun 10 17:21:54 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  68.  
  69.     * io.c (count_columns): Rewritten and renamed from `count_spaces'.
  70.  
  71. Wed Jun  9 12:45:07 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  72.  
  73.     * indent.texinfo (Disabling Formatting): New section describing
  74.     the new feature implemented below in io.c.
  75.  
  76.     * io.c (compute_code_target): Rewritten to be clearer.  Note that
  77.     the use of `max_col' is inconsistent with it's use elsewhere,
  78.     where it is primarily for use with comment formatting.
  79.     * (fill_buffer): Rewritten completely.  Now handles command
  80.     comments /* *INDENT-OFF* */ and /* *INDENT-ON* */.
  81.     `inhibit_formatting' is now a local variable;  the reference to it
  82.     in `dump_line' has been removed.  Control of formatting is handled
  83.     entirely within `fill_buffer'.
  84.  
  85. Tue Jun  8 19:03:22 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  86.  
  87.     * indent.c (indent): In case `lbrace', when resetting
  88.     ..->decl_on_line, also reset ->in_decl.  Not doing this had the
  89.     effect that the first statement after the opening '{' of a
  90.     procedure would not be properly continued if it was broken across
  91.     two lines.  There is probably a better place to do this.
  92.  
  93.     * io.c (dump_line): In the loop which outputs `s_code', removed
  94.     the stupid tab calculations, as well as the undocumented feature
  95.     for printing out the character '0200'.
  96.  
  97.     * parse.c (parse): In case `lbrace', if last reserved word was
  98.     `rw_struct_like', don't indent for struct if the last token was an
  99.     `rparen'.  This fixes a bug with a struct pointer parameter.
  100.  
  101.     * regression/TEST: Added new test struct_param.c.
  102.  
  103. Mon Jun  7 17:01:23 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  104.  
  105.     * indent.c (indent): When handling an embedded comment, if there
  106.     is code on the line, set `embedded_comment_on_line' to 2,
  107.     otherwise to 1, to communicate to dump_line () if the line starts
  108.     with code or comment text.
  109.     * io.c (dump_line): In section for code (s_code != e_code), if
  110.     `embedded_comment_on_line' is 1, then use comment indentation,
  111.     otherwise, use code indentation.
  112.  
  113. Fri Jun  4 18:10:54 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  114.  
  115.     * pr_comment.c (print_comment): When looking at a leading '*' to
  116.     decide if it begins the second line of a starred boxed comment (by
  117.     looking at what column it was in), compare that column to
  118.     `found_column' rather than `start_column'.
  119.  
  120.     * indent.c (indent): In case preesc, when handling stuff following
  121.     the '#', set `quote' when we encounter the quoting character the
  122.     first time.  Also merged cases '\'' and '"'.
  123.  
  124.     * regression directory:  Merged all the new comment code tests
  125.     into the standard regression tests.
  126.  
  127. Wed May 19 12:11:10 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  128.  
  129.     * pr_comment.c (print_comment): At `end_line:', don't compress
  130.     into newlines if it's the first line (because it has the starting
  131.     delimiter).
  132.  
  133.     * pr_comment.c (print_comment): Moved checks for `buf_ptr' past
  134.     end outside of while loops (only '\n' and '\0' end the buffer, and
  135.     changed "buf_ptr >= buf_end" to "buf_ptr == buf_end".
  136.  
  137.     * parse.c: `parser_state_tos' elements `comment_delta' and
  138.     `n_comment_delta' eliminated.
  139.     * indent.h: Ditto.
  140.     * pr_comment.c: Ditto.
  141.  
  142.     * io.c: Old comment code removed.
  143.  
  144.     * pr_comment.c (print_comment): New variable `visible_preamble'
  145.     set if the preamble is not whitespace.  Used to make sure lines
  146.     which only have whitespace on them become single newlines.
  147.     Don't use `postfix_blankline_requested' to add newlines.  This
  148.     screwed up the algorithm for dealing with paragraph breaks.
  149.     In the `end_line:' section, only advance `buf_ptr' if it wasn't a
  150.     paragraph break, because in that case we have scanned ahead a
  151.     character to detect "\n\n".
  152.  
  153. Tue May 11 17:26:18 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  154.  
  155.     * pr_comment.c (print_comment): For comment formatting, changed
  156.     comparison of `column' to `right_margin' from >= to >.
  157.  
  158. Tue Apr  6 17:51:41 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  159.  
  160.     * pr_comment.c (print_comment): Also consider the characters '='
  161.     and '_' to make up the top line of a boxed comment.
  162.     * comments.texinfo: Changed to reflect this.
  163.  
  164. Wed Feb 24 15:22:51 1993  Joseph Arceneaux  (jla@wookumz.gnu.ai.mit.edu)
  165.  
  166.     * makefile.in: Added "-O" to CFLAGS.
  167.  
  168. Thu Feb 11 15:54:10 1993  Joseph Arceneaux  (jla@wookumz.gnu.ai.mit.edu)
  169.  
  170.     * Version 1.7 released.
  171.  
  172.     * makefile.in: Renamed from zmakefile.in.
  173.     All "-f zmakefile" arguments to `MAKE' removed.  Dependencies on
  174.     "zmakefile.in" changed to "makefile.in".
  175.  
  176.     * Makefile: Changed references to "zmakefile" to "makefile".
  177.  
  178. Wed Feb 10 12:25:04 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  179.  
  180.     * indent.c (indent): In case preesc, when going through the line,
  181.     consider EOL as terminating a C++ comment.
  182.  
  183. Mon Feb  8 04:45:06 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  184.  
  185.     * memcpy.c: Function `memcpy' surrounded by #ifdef USG.  USG is
  186.     only defined if `configure' did not find `bcopy'.  memcpy.o should
  187.     only be loaded if `configure' did not find it.
  188.     * sys.h: If USG not defined, define memcpy to be bcopy.
  189.  
  190.     * makefile.in: Renamed from zmakefile.in.
  191.     * configure: Use "makefile" rather than zmakefile.  Explicitly
  192.     name `indent' in rule for same.
  193.  
  194.     * indent.texinfo: Updated copyright and version information.
  195.     Added new section Bugs.  Added "nlps" option.
  196.  
  197.     * io.c (pad_output): Rewritten.  If `tabsize' is less than one,
  198.     use spaces rather than tabs.
  199.  
  200.     * sys.h: #define TAB and EOL.
  201.     Changed type of element `size' in struct file_buffer to unsigned
  202.     long.
  203.  
  204.     * indent.h, io.c: Type of `in_prog_size' changed to unsigned long.
  205.  
  206.     * indent.c, parse.c, pr_comment.c, lexi.c, io.c: Use new macros
  207.     TAB and EOL instead of '\t' and '\n'.
  208.  
  209.     * args.c, indent.c, backup.c, io.c, parse.c: Cast integer
  210.     arguments to printf.
  211.  
  212.     * indent.c:
  213.     * lexi.c:
  214.     * parse.c: Added missing parameters to calls to `diag'.
  215.  
  216.     * args.c: Added new long option "remove-preprocessor-space".
  217.  
  218. Fri Feb  5 17:40:08 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  219.  
  220.     * indent.c (indent): In case semicolon, case lbrace, and case
  221.     rbrace, disabled code which checked paren levels (with
  222.     parser_state_tos->p_l_follow) to enable passing weird stuff to
  223.     macros.  See comments ending "-jla".
  224.     (indent): In case lparen, if in a declaration, don't indent out to
  225.     `dec_ind' if the paren was '['.
  226.     * Removed several global variables which were shadowed by locals
  227.     to function `indent'.
  228.  
  229.     * args.c: Turned off, by default, "lps" option.  Added "nlps"
  230.     option.
  231.  
  232.     * io.c (current_column): New function.
  233.  
  234.     * lexi.c: In case ':', set parser_state_tos->want_blank under
  235.     certain conditions.
  236.  
  237. Tue Feb  2 14:03:39 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  238.  
  239.     * indent.c (indent): Handle C++ comments, with special attention
  240.     to the code for case preesc.
  241.  
  242. Thu Jan 28 17:31:57 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  243.  
  244.     * parse.c (reset_parser): Initialize parser_state_tos->com_col to
  245.     0.
  246.  
  247. Wed Jan 27 13:45:16 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  248.  
  249.     * indent.c (indent): Handle new code type `cplus_comment'.
  250.  
  251.     * lexi.c (lexi): Handle C++ comments ("//").
  252.  
  253.     * indent.h: Macros CHECK_CODE_SIZE and CHECK_LAB_SIZE moved to
  254.     indent.c.  Macro CHECK_COM_SIZE moved to pr_comment.c.
  255.     New code, `cplus_comment'.
  256.  
  257.     * pr_comment.c (pr_comment): Removed variable `just_saw_decl' and
  258.     it's use.
  259.  
  260. Sat Jan 23 19:36:31 1993  Joseph Arceneaux  (jla@betty-blue.gnu-age.com)
  261.  
  262.     * indent.c (indent): Only reset `com_ind' if it's less than or
  263.     equal to 0.  Don't call parse (semicolon) initially.  Skip any
  264.     leading newlines, resetting col to 1. Don't set
  265.     `parser_state_tos->ind_level' and `parser_state_tos->i_l_follow'
  266.     if col > ind_size.
  267.  
  268.     * parse.c (reset_parser): If tabsize is 0, set it to 1.
  269.  
  270. Fri Oct  9 21:01:49 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  271.  
  272.     * indent.c (indent): Restuctured the conditional for setting
  273.     `force_nl' in case rbrace to be clearer.  Also, only check whether
  274.     to set `postfix_blankline_requested' we're not setting `force_nl'.
  275.  
  276. Wed Oct  7 16:15:25 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  277.  
  278.     * io.c (diag): Only one format of error message now.  Output it on
  279.     the standard error in any case.
  280.  
  281.     * indent.c (indent): In case decl, don't call "parse (decl)" if we
  282.     are in a "sizeof".
  283.  
  284.     * args.c: Make default value for `format_col1_comments' be false,
  285.     to correspond with the "-gnu" spec.
  286.  
  287. Fri Aug 28 19:15:50 1992  Joseph Arceneaux  (jla@wookumz.gnu.ai.mit.edu)
  288.  
  289.     * args.c (set_option): Added missing argument to call to
  290.     `set_option'.
  291.  
  292. Mon Aug 24 12:47:32 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  293.  
  294.     * sys.h (INLINE): Define this to "__inline__" if __GNUC__ is
  295.     defined, not "inline".  Good thing we have standards...
  296.  
  297.     * indent.c (indent): New variable `embedded_comment_on_line' set
  298.     if an embedded comment is found.
  299.     * io.c (dump_line): Increment `com_lines' in the case where the
  300.     comment buffer is empty, but `embedded_comment_on_line' is true.
  301.     Clear that variable in both cases.  This makes indent include
  302.     embedded comments in its count of total comment lines.
  303.  
  304.     * io.c (read_stdin): If the input buffer is realloc'd, update the
  305.     character pointer `p'.
  306.  
  307. Wed Aug 19 18:25:48 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  308.  
  309.     * Version 1.6 released.
  310.  
  311.     * indent.c (indent): In case comma, use `tabsize' rather than 8 to
  312.     determine if we're past max_col.
  313.     In case newline, also dump the line if we are past max_col.
  314.  
  315. Fri Aug 14 19:08:04 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  316.  
  317.     * io.c (dump_line): Test `swallow_optional_blanklines' separately
  318.     from (prefix_blankline_requested && not_first_line).  Makes "-sob"
  319.     work properly.
  320.  
  321.     * indent.c (indent): Intialize several local variables to 0.
  322.  
  323. Tue Aug 11 18:02:38 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  324.  
  325.     * indent.c (indent): In case rbrace, add clause to conditional for
  326.     setting `force_nl'.  The clause forces a newline after '}' in most
  327.     cases.
  328.     In case swstmt, set `parser_state_tos->in_decl' to false, since we
  329.     know we're not in a declaration if have just seen "switch" (of
  330.     course, who knows what indent might think about things).  This
  331.     corrects the indentation of a case label following the lbrace of
  332.     the switch.
  333.  
  334. Mon Aug 10 16:23:54 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  335.  
  336.     * indent.gperf: "return" generates `rw_return', not `rw_break'.
  337.     How did this happen?  I didn't make this change, and it was not
  338.     present in indent 1.4.  Doubtless this insidious program modifies
  339.     itself destructively...
  340.     * lexi.c (hash, is_reserved): regenerated from indent.gperf.
  341.  
  342.     * args.c: Make the -gnu setting specify "-bli2" rather than
  343.     "-bli4".
  344.  
  345.     * lexi.c (lexi): Accept 'F' suffixes on numeric constants.
  346.  
  347.     * sys.h Require "__GNUC__" to define INLINE, not "__STDC__".
  348.  
  349. Mon Aug  4 21:22:54 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  350.  
  351.     * Version 1.5 released.
  352.  
  353. Mon Aug  3 21:14:40 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  354.  
  355.     * indent.c (indent): In case rparen, removed the change of Jul 28.
  356.     This is now done if the case mask fails and
  357.     parser_state_tos->in_decl is true and ..->block_init is false.
  358.     The old change broke the "-ncs" feature.  Perhaps this could have
  359.     been done otherwise by using ..->last_u_d.
  360.     Also, decrement `parser_state_tos->paren_depth' immediatly.
  361.  
  362.     * All source files formatted with ./indent.
  363.  
  364.     * pr_comment.c (pr_comment): If `parser_state_tos->box_com' is set
  365.     (which means that the comment is presumed to be hand-formatted),
  366.     set `parser_state_tos->n_comment_delta' to
  367.     (1 - parser_state_tos->com_col), rather than using `count_spaces'
  368.     to calculate the space up to the comment column.  Not only is this
  369.     simpler, but the old code used `cur_line' to count those spaces,
  370.     which was pointing to the *NEXT* line in some cases (because some
  371.     code in indent () which ignored newlines (like in the case of
  372.     multi-line comments after #define statments) called fill_buffer ()).
  373.     Another example of just how brain damaged this code is.  For more
  374.     extreme self-abuse, look a the interaction between pr_comment ()
  375.     and dump_line ().
  376.  
  377. Sun Aug  2 02:10:32 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  378.  
  379.     * pr_comment.c (pr_comment): When computing
  380.     `parser_state_tos->com_col' for beyond the normal comment
  381.     position, use (tabsize - 1) instead of 7.
  382.  
  383. Wed Jul 29 22:50:45 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  384.  
  385.     * lexi.c (lexi): If `buf_ptr' == '(' after scanning an alphanum
  386.     which is not a keyword, add clause that paren_depth must be 0
  387.     before considering this as a possible function definition.
  388.  
  389. Tue Jul 28 17:17:08 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  390.  
  391.     * parse.c (parse): In case lbrace, handle state of being in a decl
  392.     specially: If this brace succedes a struct-like thing and it goes
  393.     on a line by itself (! btype_2), then add `brace_indent' to the
  394.     amount of indentation.  This make GNU-style indentation of
  395.     structures, etc. work properly.
  396.  
  397.     * indent.c (indent): In case rparen, if not the beginning of the
  398.     code, and in_decl, set `parser_state_tos->want_blank'.  This is to
  399.     handle ensure a space before the last rparen of cases like
  400.     "int (*fp ()) ()".
  401.  
  402. Fri Jul 24 18:53:15 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  403.  
  404.     * indent.c: Changes to handle spaces between options and their
  405.     values.  It would be better to use `getopt', but this change is
  406.     much simpler.
  407.     Declaration of `set_option' changed to return int.
  408.     (main): Increment `i' by the value of `set_option ()'; also, pass
  409.     argv[i + 1] as second parameter to `set_option'.
  410.     * args.c (set_option): Take new parameter `param'.
  411.     New label `arg_missing', just before label `found', to handle
  412.     missing option value error.
  413.     If `param_start' is 0, set it to `param'.
  414.     (scan_profile): Rewritten to look at two entries at once, and pass
  415.     both to `set_option'.
  416.  
  417. Wed Jul 22 15:55:56 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  418.  
  419.     * indent.c (indent): In case lbrace, set
  420.     `parser_state_tos->want_blank' under certain conditions if not at
  421.     beginning of line and `btype_2' was specified.
  422.  
  423.     * indent.c: Macro `need_chars' moved here from indent.h.
  424.  
  425.     * io.c (read_file, read_stdin): No longer appends " \n" to the end
  426.     of the file, which is now simply delimited with '\0'.  xmalloc 2
  427.     less bytes for the buffer.
  428.     (fill_buffer): Stop and set `had_eof' when '\0' is
  429.     encountered in the file text, then return immediately.
  430.     * lexi.c (lexi): New case in main switch statement for '\0', which
  431.     indicates eof.  Removed code to set this in case '\n'.
  432.  
  433. Fri Jul 10 14:45:25 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  434.  
  435.     * lexi.c (): If keyword "struct" was found inside of parens
  436.     (case rw_struct_like:) set parser_state_tos->cast_mask before
  437.     breaking.
  438.  
  439. Wed Jul  8 21:11:01 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  440.  
  441.     * lexi.c (lexi): Accept 'U' and "UL" suffixes on integer
  442.     constants.
  443.  
  444. Fri Jul  3 16:05:45 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  445.  
  446.     * indent.c (indent): For cases unare_op and comma, don't space out
  447.     to decl_indent (dec_indent) if we are inside parens
  448.     (parser_state_tos->paren_depth > 0).
  449.  
  450. Thu Jul  2 13:36:50 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  451.  
  452.     * indent.c (indent): In case rparen, if paren starts the line,
  453.     check that paren_level is greater than zero before using it to
  454.     index `paren_indents'.
  455.  
  456.     * args.c: New variable `leave_preproc_space'.  Set by new option
  457.     "-lps".
  458.     * indent.h: Declare `leave_preproc_space'.
  459.     * indent.c (indent): In case preesc, don't ignore blanks after '#'
  460.     if `leave_preproc_space' is set.
  461.     * indent.texinfo: Entries added for new option "-lps".
  462.  
  463.     * indent.c: At the end of case preesc, call dump_line() if this
  464.     appears to be a case where it won't get called when processing the
  465.     newline character.
  466.  
  467. Wed Jul  1 16:12:57 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  468.  
  469.     * lexi.c (hash, is_reserved): Regenerated (from gperf) with new
  470.     words "volatile" and "const".
  471.  
  472.     * args.c: Removed the trailing comma from the last element of enum
  473.     profile.  This breaks some compilers.
  474.  
  475.     * Makefile: Changed to drive the configuration process.
  476.     * zmakefile.in: Renamed from Makefile.in
  477.     * CONF-README: Renamed from INSTALL
  478.  
  479. Tue Jun 30 21:34:16 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  480.  
  481.     * globs.c (mymemcpy): Function deleted.
  482.     * sys.h: Declarations and defines for mymemcpy, etc, removed.
  483.     * indent_globs.h: All references to memcpy removed.
  484.     * backup.c: `mymemcpy' changed to `memcpy'.
  485.     * indent.c: Ditto.
  486.     * io.c: Ditto.
  487.  
  488.     * Makefile.in:
  489.     * INSTALL:
  490.     * configure:
  491.     * configure.in:
  492.     * memcpy.c:     New files.
  493.  
  494. Sun Jun 14 13:38:12 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  495.  
  496.     * Version 1.4 released.
  497.  
  498. Fri Jun 12 15:02:37 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  499.  
  500.     * globs.c (mymemcpy): Now a void function.  Don't return anything.
  501.  
  502.     * io.c (dump_line): When printing label, use `tabsize' to
  503.     increment target if `com_st' contains tabs.  Also use
  504.     `tabsize' to calculate target when it's less than zero.
  505.  
  506. Thu Jun 11 20:27:48 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  507.  
  508.     * indent.c (indent): When token_type is a binary_op, if
  509.     parser_state_tos->want_blank is not true, but the preceding
  510.     character is not a space, put one on the line.
  511.  
  512.     * Removed variable `sccsid' from all files.
  513.  
  514. Wed Jun 10 13:00:26 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  515.  
  516.     * args.c: Added long option name "dont-space-special-semicolon"
  517.     for -nss.
  518.  
  519. Tue Jun  9 13:01:21 1992  Joseph Arceneaux  (jla@geech.gnu.ai.mit.edu)
  520.  
  521.     * Makefile: Automatically make the files README and RELEASE-NOTES.
  522.  
  523.     * sys.h: Provide defines for using memcpy or bcopy.
  524.  
  525.     * globs.c: `mymemcpy ()' only defined #ifndef mymemcpy.
  526.  
  527.     * indent.c (main): Set `in_name' to the current input file name.
  528.  
  529.     * io.c (dumpline): Check parser_state_tos->paren_level before
  530.     using it to index parser_state_tos->paren_indents.
  531.  
  532. Mon Jun  8 17:55:07 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  533.  
  534.     * lexi.c (lexi): In conditional (paren_count == 0), add '=' to the
  535.     characters (along with ';', ',', and '(') which constitute a
  536.     function definition.  This was to cause an ugly declaration from
  537.     libc ("int (*foo) __P ((int bar)) = bax;") to remain on one line.
  538.     Note that this is not valid C.
  539.  
  540.     * indent.c (main): When indenting multiple output files, make sure
  541.     to close each output file before continuing.
  542.  
  543. Fri Jun  5 13:56:54 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  544.  
  545.     * io.c (read_file): Use mymemcpy() instead of bcopy();
  546.  
  547.     * backup.c (max_version):  Don't free dirname unless it was malloc'd.
  548.  
  549. Wed May  6 02:01:18 1992  Joseph Arceneaux  (jla@geech.gnu.ai.mit.edu)
  550.  
  551.     * Version 1.3 released.
  552.  
  553.     * indent.texinfo:  Reorganization of the "Invocation" part, and a
  554.     new menu entry "Backup files", as well as corrections throughout.
  555.     A new option "nip" added.
  556.  
  557.     * indent.c (main): New variable `using_stdin', used to indicate
  558.     when `-' was specified on the command line.
  559.  
  560. Tue May  5 21:28:06 1992  Joseph Arceneaux  (jla@geech.gnu.ai.mit.edu)
  561.  
  562.     * args.c: Set default for `decl_com_ind' to 33.  If
  563.     BERKELEY_DEFAULTS is defined, default `continuation_indent' to 4.
  564.  
  565. Sun May  3 00:43:10 1992  Joseph Arceneaux  (jla at hugo)
  566.  
  567.     * parse.c (reduce):  when reducing <stmt><dolit>,
  568.     do set i_l_follow to il[parser_state_tos].  This was removed
  569.     earlier after a new reduction was added, but this obviously fixes
  570.     some bugs.  It will stay if indent passes all the old tests.
  571.  
  572.     * args.c (set_option):  When calling `addkey' to add a user
  573.     identifier, make it type 'rw_decl' since these are supposed to be
  574.     typedef identifiers.
  575.     Removed "-d4" spec in "-orig" option settings.
  576.     Made default for "-fca" be false.
  577.  
  578.     * args.c (set_profile): Only read one profile.  The one in the
  579.     current directory has priority.  Return the path of the profile read.
  580.     * indent.c (main): If `verbose' and we've read a profile, tell the
  581.     user on the stderr.
  582.  
  583. Sat May  2 18:33:14 1992  Joseph Arceneaux  (jla at hugo)
  584.  
  585.     * args.c: `Bill_Shannon' replaced with `blank_after_sizeof'.
  586.     indent.c: Likewise.
  587.     indent.h: Likewise.
  588.  
  589.     * args.c: New variable, exp_nip, for new option "-nip", which is
  590.     equivalent to "-ip0".  Long option name is
  591.     "no-parameter-indentation".
  592.  
  593.     * config.sh: New shell script which generates "dirent_def.h", and
  594.     include file with directory reading definitions.
  595.     * Makefile:  Take "config.sh" and "dirent_def.h" into account.
  596.  
  597.     * backup.c: Make only simple backups if we can't read directories
  598.     (NODIR is defined).  Functions for numbered backups conditionally
  599.     defined.
  600.     Documented all functions.
  601.  
  602.     * indent_globs.h:  Broken into two new files, indent.h and sys.h.
  603.     All files changed accordingly, including the Makefile.
  604.  
  605. Thu Apr 30 14:53:33 1992  Joseph Arceneaux  (jla at hugo)
  606.  
  607.     * backup.c, backup.h: New files with backup routines.
  608.     * io.c (make_backup): Moved into backup.c.
  609.     * io.c (sys_error): No longer static, called from make_backup.
  610.  
  611. Wed Apr 29 14:56:10 1992  Joseph Arceneaux  (jla at hugo)
  612.  
  613.     * args.c: Make default value for `else_endif_col' 1, as in "-gnu"
  614.     settings.
  615.  
  616. Tue Apr 28 23:18:07 1992  Joseph Arceneaux  (jla at hugo)
  617.  
  618.     * indent.c (main):  Only output to stdout if stdin is used and no
  619.     output file is specified, or one input stream is used and -st is
  620.     specified.
  621.     * args.c: New variable `use_stdout' set with option "-st".
  622.     * indent_globs.h: Declare `use_stdout'.
  623.  
  624. Sun Mar 22 14:59:35 1992  Joseph Arceneaux  (jla at hugo)
  625.  
  626.     * parse.c (init_parser, reset_parser):  Two new functions which
  627.     respectively allocate the neccessary parser data structures, and
  628.     initialize the parser state.
  629.     * indent.c (indent): New function which does the actual indenting
  630.     of it's input, which comes in the form of a file_buffer pointer.
  631.     (main): Command line scan changed to use new option "-o" and read
  632.     possibly multiple files into new variable `in_file_names'.
  633.     Main body changed to use new `indent' function on possibly
  634.     multiple files, and accomodate default standard io specification.
  635.  
  636.     * io.c (make_backup, read_file, read_stdin):  All file io routines
  637.     rewritten (`make_backup' formerly `bakcopy').  read routines
  638.     return pointer to new structure 'file_buffer'.
  639.     `make_backup' only makes backup file, no longer sets up original
  640.     file for writing.
  641.     * indent_globs.h:  Declare struct file_buffer, and io routines.
  642.  
  643. Fri Mar 20 18:33:18 1992  Joseph Arceneaux  (jla at hugo)
  644.  
  645.     * args.c: Option "-st" and associated variable `use_stdinout'
  646.     removed.  Option "-o" and associated variable `expect_output_file'
  647.     added.
  648.  
  649. Mon Feb  3 20:22:04 1992  Joseph Arceneaux  (jla at churchy.gnu.ai.mit.edu)
  650.  
  651.     * args.c: If BERKELEY_DEFAULTS is defined, use the original
  652.     defaults rather than GNU style.
  653.  
  654.     * Version 1.2 released.
  655.  
  656. Thu Jan 23 14:02:06 1992  Joseph Arceneaux  (jla at wombat.gnu.ai.mit.edu)
  657.  
  658.     * Makefile: info version of manual included in distribution.
  659.  
  660.     * args.c: New long options "berkeley-style", "berkeley" added
  661.     which correspond to original style.
  662.  
  663.     * lexi.c ():  Added explicit parens in checks for alphanums.
  664.     * indent.c (main):  On switch default when searching brace, added
  665.     explicit parens to 2nd if statment.
  666.     * indent_globs.h, io.c: Made variable `in_prog_size' unsigned.
  667.          
  668. Wed Jan 15 11:59:35 1992  Joseph Arceneaux  (jla at hugo)
  669.  
  670.     * args.c:  Accept "-gnu" option.
  671.  
  672.     * indent.c (main): In case rbrace, don't use ind_level and il[tos]
  673.     as criteria for setting search_brace.  This allows "-ce" to work
  674.     more strictly.
  675.  
  676.     * indent.c (main): In case lparen, let '(' after an ident which is
  677.     rw_return begin casts.
  678.     * lexi.c (lexi): If ident was a reserved word, save it in
  679.     parser_state_tos->last_rw.
  680.     Changed "return" from `rw_break' to new enum element `rw_return'.
  681.     * indent_globs.h: Moved type "enum codes" to this file from
  682.     lexi.c.  New element of parser state `last_rw'.
  683.  
  684. Sun Jan 12 01:40:23 1992  Joseph Arceneaux  (jla at hugo)
  685.  
  686.     * lexi.c (lexi): if in decl and looking at '(', additionally
  687.     accept, after closing ')',  '(' as constituting a function
  688.     declaration (along with ';' and ',').
  689.  
  690. Thu Jan  9 18:31:44 1992  Joseph Arceneaux  (jla at hugo)
  691.  
  692.     * io.c (dump_line):  When outputting nonblank lines, if
  693.     n_real_blanklines is > 1 and swallow_optional_blanklines is set,
  694.     make n_real_blanklines 1.
  695.  
  696. Wed Jan  8 10:06:43 1992  Joseph Arceneaux  (jla at hugo)
  697.  
  698.     * args.c (option_prefix):  New function to recognize option prefix
  699.     from table.  Now handles both "+" and "--" for long option prefixes.
  700.  
  701. Mon Jan  6 01:15:29 1992  Joseph Arceneaux  (jla at hugo)
  702.  
  703.     * Makefile:  Made more compatible with GNU standards.  Unix man
  704.     file removed from distribution.
  705.  
  706. Fri Dec 27 14:58:13 1991  Joseph Arceneaux  (jla at hugo)
  707.  
  708.     * parse.c:  Correctly handle "do ... while" statements, using new
  709.     stack symbol DOSTMT.
  710.     (parse):  For semicolon, if code DOSTMT is top of stack, replace it
  711.     with STMT.
  712.     (reduce):  New reduction <dohead><whilestmt> => <dostmt>.  Also,
  713.     when reducing <stmt><dolit>, don't change indentation.
  714.  
  715.     * indent.c (main):  In case rbrace, after parse(rbrace), set
  716.     force_nl if top of stack is dohead and ! btype_2.
  717.     (main):  Initialize noncast_mask to 0.
  718.  
  719. Mon Dec 23 18:34:11 1991  Joseph Arceneaux  (jla at hugo)
  720.  
  721.     * args.c (set_option): Recognize long options, using new struct
  722.     option_conversions, if option begins with POSIX_OPTION_PREFIX.
  723.  
  724.     * indent.c (main): Recognize "--no-profile" as well as "-npro".
  725.  
  726.     * indent.texinfo: Describe GNU style as default.  Section reworded.
  727.  
  728. Sat Dec 21 13:27:07 1991  Joseph Arceneaux  (jla at hugo)
  729.  
  730.     * indent.c (main):  In case preesc (~ line 1282), add !had_eof to
  731.     second while clause to avoid hanging in weird text (like test file
  732.     djm-torture-test/t11).
  733.  
  734.     * indent.c (main): In case rparen, (~ line 680) if cast mask was
  735.     set and is reset to zero, then set parser_state_tos->want_blank if
  736.     cast_space was set.  No longer do this (#if 0) in all cases where
  737.     (!parser_state_tos->cast_mask || cast_space).
  738.  
  739. Wed Dec  4 16:41:13 1991  Joseph Arceneaux  (jla at hugo)
  740.  
  741.     * version.h:  Version changed to be simply 1.1.4.  Comments added.
  742.  
  743. Mon Nov 25 15:16:51 1991  Joseph Arceneaux  (jla at hugo)
  744.  
  745.     * indent.c (main):  When handling decl case, don't reset
  746.     PREFIX_BLANKLINE_REQUESTED if we've just encountered the type of a
  747.     procedure delcaration.  This fixes the -bap bug for procedures
  748.     which begin with a line declaring their type, following the line with
  749.     `}' from the last procedure.
  750.  
  751. Fri Nov 22 15:26:59 1991  Joseph Arceneaux  (jla at hugo)
  752.  
  753.     * args.c: Default is now GNU style.  Original obtained by new
  754.     option "-orig".  New variable exp_orig.
  755.  
  756.     * indent.texinfo: Describe the new -ts option.  Removed the -ss
  757.     option from GNU style.
  758.  
  759. Thu Nov 21 17:50:48 1991  Joseph Arceneaux  (jla at hugo)
  760.  
  761.     * args.c: New variables `tabsize' and `exp_ts'.
  762.     * indent_globs.h: Declare `tabsize'.
  763.     * io.c (pad_output, count_spaces): Use `tabsize' to calculate padding.
  764.     * pr_comment.c (pr_comment): Use `tabsize' to compute column.
  765.  
  766.     * args.c: Removed the "-ss" option for GNU style.
  767.  
  768. Fri Sep 13 01:30:18 1991  Joseph Arceneaux  (jla at hugo)
  769.  
  770.     * indent_globs.c: New element to parser_state, `paren_depth',
  771.     which counts global paren nesting.
  772.     * indent.c: Use it in main loop to avoid setting `in_or_st' when
  773.     doing ansii prototyping.
  774.  
  775. Thu Sep 12 15:53:54 1991  Joseph Arceneaux  (jla at hugo)
  776.  
  777.     * io.c (dump_line): Initialize target_column to 0.
  778.  
  779.     * parse.c: New variable debug to control debugging output.
  780.  
  781.